<?php declare(strict_types=1);

use App\Enums\ResponseEnum;

return [
    ResponseEnum::class => [
        ResponseEnum::HTTP_OK => '请求成功',
        ResponseEnum::HTTP_FAIL => '请求失败',
        ResponseEnum::HTTP_ERROR => '请求错误',
        ResponseEnum::HTTP_FREQUENT => '请求频繁',
        ResponseEnum::CLIENT_NOT_FOUND_HTTP_ERROR => '错误的请求',
        ResponseEnum::CLIENT_PARAMETER_ERROR => '参数错误',
        ResponseEnum::CLIENT_CREATED_ERROR => '数据已存在',
        ResponseEnum::CLIENT_DELETED_ERROR => '数据不存在',
        ResponseEnum::CLIENT_HTTP_UNAUTHORIZED => '未经身份验证的请求',
        ResponseEnum::CLIENT_HTTP_UNAUTHORIZED_EXPIRED => '账号信息已过期，请重新登录',
        ResponseEnum::CLIENT_HTTP_UNAUTHORIZED_BLACKLISTED => '账号在其他设备登录，请重新登录',
        ResponseEnum::CLIENT_NOT_FOUND_ERROR => '没有找到页面或路径',
        ResponseEnum::CLIENT_METHOD_HTTP_TYPE_ERROR => 'HTTP请求类型错误',
        ResponseEnum::CLIENT_UNAUTHORIZED_MEDIA_TYPE_ERROR => '不支持的媒体类型',
        ResponseEnum::CLIENT_AUTH_UNAUTHORIZED_ERROR => '被禁止的。未经身份验证的请求',
        ResponseEnum::CLIENT_PARAMETER_FORMAT_ERROR => '无法处理的实体',
        ResponseEnum::SYSTEM_ERROR => '服务器错误',
        ResponseEnum::SYSTEM_UNAVAILABLE => '服务器正在维护，暂不可用',
        ResponseEnum::SYSTEM_CACHE_CONFIG_ERROR => '缓存配置错误',
        ResponseEnum::SYSTEM_CACHE_MISSED_ERROR => '缓存未命中',
        ResponseEnum::SYSTEM_CONFIG_ERROR => '系统配置错误',
        ResponseEnum::SYSTEM_QUERY_ERROR => '无法解析的查询',
        ResponseEnum::DELETE_OPTION_ERROR => '请选择删除项',
        ResponseEnum::DELETE_NOT_EXIST_ERROR => '记录不存在',
        ResponseEnum::RECOVER_OPTION_ERROR => '请选择恢复项',
        ResponseEnum::USER_ADMIN_DELETE_ERROR => '无法删除初始管理员',
        ResponseEnum::FILES_GROUP_ERROR => '分组下存在附件',
        ResponseEnum::PERMISSION_EXISTS_DELETE_ERROR => '存在子权限禁止删除',
        ResponseEnum::ROLE_EXISTS_DELETE_ERROR => '系统默认角色不能删除',
        ResponseEnum::ROLE_EXISTS_PER_DELETE_ERROR => '该角色下存在权限',
        ResponseEnum::USER_EXISTS_DELETE_ERROR => '系统默认用户不能删除',
        ResponseEnum::USER_EXISTS_ROLE_DELETE_ERROR => '该用户下存在角色',
        ResponseEnum::USER_SERVICE_LOGIN_ERROR => '账号或密码错误',
        ResponseEnum::USER_SERVICE_REFRESH_TOKEN_ERROR => '刷新TOKEN失败',
        ResponseEnum::BASIC_USER_ERROR => '用户不存在',
        ResponseEnum::BASIC_USER_PASSWORD_ERROR => '密码不正确',
        ResponseEnum::BASIC_USER_OLD_PASSWORD_ERROR => '不能使用原始密码',
        ResponseEnum::UPLOAD_FILE_ERROR => '上传失败',
        ResponseEnum::UPLOAD_NETWORK_FILE_ERROR => '网络地址错误',
        ResponseEnum::UPLOAD_NETWORK_FILE_IP_NOT_ERROR => '网络链路不支持IP地址',
        ResponseEnum::UPLOAD_NETWORK_FILE_IS_NOT_ERROR => '无法提取文件：找不到资源文件',
        ResponseEnum::UPLOAD_NETWORK_FILE_FORMAT_ERROR => '保存失败：格式错误',
        ResponseEnum::UPLOAD_FILE_FORMAT_ERROR => '不支持上传文件格式',
        ResponseEnum::UPLOAD_FILE_MAXSIZE_ERROR => '上传的文件大小超出限制',
    ]
];
